package com.example.qihuibao.bean

import androidx.room.Entity
import androidx.room.PrimaryKey

data class RspUseConsumeBean(
    //处理结果列表DealList
    val DealList:List<Deal>? = null,
) : BaseRspBean() {
    @Entity(tableName = "Deal")
    data class Deal(
        @PrimaryKey//(autoGenerate = true) val id: Long=0L,
        val TranID	:String = "",	//	交易流水号 唯一
        val DealCode	:String? = null,	//	处理结果，成功返回0
        val DealMsg	:String? = null,	//		错误信息 (//todo 非必填)
        val Status	:String? = null,	//		订餐取餐状态(订餐核销)：2 已(全部)用餐，5部分取餐 (//todo 非必填)
        val Rest	:Int = 0,		//	订餐取餐剩余份数(订餐核销) (//todo 非必填)
        val Balance	:Int = 0,		//	对账标准为企慧宝，现场取餐时，如执行成功，返回取餐后余额 (//todo 非必填)
    )
}